package com.jumi.microservice.dto.jd.query;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;

import java.io.Serializable;

/**
 * 优惠券合集
 */
public class JdCoupon implements Serializable {
    @ApiModelProperty("券种类 (优惠券种类：0 - 全品类，1 - 限品类（自营商品），2 - 限店铺，3 - 店铺限商品券)")
    private Integer bindType;
    @ApiModelProperty("券面额")
    private double discount;
    @ApiModelProperty("券链接")
    private String link;
    @ApiModelProperty("券使用平台 (平台类型：0 - 全平台券，1 - 限平台券)")
    private Integer platformType;
    @ApiModelProperty("券消费限额")
    private double quota;
    @ApiModelProperty("领取开始时间(时间戳，毫秒)")
    private Long getStartTime;
    @ApiModelProperty("券领取结束时间(时间戳，毫秒)")
    private Long getEndTime;
    @ApiModelProperty("券有效使用开始时间(时间戳，毫秒)")
    private Long useStartTime;
    @ApiModelProperty("券有效使用结束时间(时间戳，毫秒)")
    private Long useEndTime;
    @ApiModelProperty("最优优惠券，1：是；0：否，购买一件商品可使用的面额最大优惠券")
    private Integer isBest;
    @ApiModelProperty("券热度，值越大热度越高，区间:[0,10]")
    private Integer hotValue;

    public Integer getBindType() {
        return bindType;
    }

    public void setBindType(Integer bindType) {
        this.bindType = bindType;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Integer getPlatformType() {
        return platformType;
    }

    public void setPlatformType(Integer platformType) {
        this.platformType = platformType;
    }

    public double getQuota() {
        return quota;
    }

    public void setQuota(double quota) {
        this.quota = quota;
    }

    public Long getGetStartTime() {
        return getStartTime;
    }

    public void setGetStartTime(Long getStartTime) {
        this.getStartTime = getStartTime;
    }

    public Long getGetEndTime() {
        return getEndTime;
    }

    public void setGetEndTime(Long getEndTime) {
        this.getEndTime = getEndTime;
    }

    public Long getUseStartTime() {
        return useStartTime;
    }

    public void setUseStartTime(Long useStartTime) {
        this.useStartTime = useStartTime;
    }

    public Long getUseEndTime() {
        return useEndTime;
    }

    public void setUseEndTime(Long useEndTime) {
        this.useEndTime = useEndTime;
    }

    public Integer getIsBest() {
        return isBest;
    }

    public void setIsBest(Integer isBest) {
        this.isBest = isBest;
    }

    public Integer getHotValue() {
        return hotValue;
    }

    public void setHotValue(Integer hotValue) {
        this.hotValue = hotValue;
    }
}
